package entity;


public class Commodity {

  private long id;
  private String number;
  private String name;
  private long typeid;
  private long companyid;
  private String spec;
  private long colorid;
  private long miniin;
  private double bprice;
  private double eprice;
  private long stock;
  private long warehouseid;

  private long supplierid;



  private Warehouse warehouse;
  private Supplier supplier;
  private Commtype commtype;
  private Comptype comptype;
  private Colortype colortype;

  public Warehouse getWarehouse() {
    return warehouse;
  }

  public void setWarehouse(Warehouse warehouse) {
    this.warehouse = warehouse;
  }

  public long getWarehouseid() {
    return warehouseid;
  }

  public void setWarehouseid(long warehouseid) {
    this.warehouseid = warehouseid;
  }
  public Commtype getCommtype() {
    return commtype;
  }

  public void setCommtype(Commtype commtype) {
    this.commtype = commtype;
  }

  public Comptype getComptype() {
    return comptype;
  }

  public void setComptype(Comptype comptype) {
    this.comptype = comptype;
  }

  public Colortype getColortype() {
    return colortype;
  }

  public void setColortype(Colortype colortype) {
    this.colortype = colortype;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getTypeid() {
    return typeid;
  }

  public void setTypeid(long typeid) {
    this.typeid = typeid;
  }


  public long getCompanyid() {
    return companyid;
  }

  public void setCompanyid(long companyid) {
    this.companyid = companyid;
  }


  public String getSpec() {
    return spec;
  }

  public void setSpec(String spec) {
    this.spec = spec;
  }


  public long getColorid() {
    return colorid;
  }

  public void setColorid(long colorid) {
    this.colorid = colorid;
  }


  public long getMiniin() {
    return miniin;
  }

  public void setMiniin(long miniin) {
    this.miniin = miniin;
  }


  public double getBprice() {
    return bprice;
  }

  public void setBprice(double bprice) {
    this.bprice = bprice;
  }


  public double getEprice() {
    return eprice;
  }

  public void setEprice(double eprice) {
    this.eprice = eprice;
  }


  public long getStock() {
    return stock;
  }

  public void setStock(long stock) {
    this.stock = stock;
  }

  public Supplier getSupplier() {
    return supplier;
  }

  public void setSupplier(Supplier supplier) {
    this.supplier = supplier;
  }


  public long getSupplierid() {
    return supplierid;
  }

  public void setSupplierid(long supplierid) {
    this.supplierid = supplierid;
  }
}
